package com.qf.blog.commons.constant;

/**
 * User: key
 * ClassName:RedisKeys
 * Date: 2023/6/7
 * Time: 16:48
 * description:
 */
public interface RedisKeys {
    //用于存放用户登录信息
    String USER_LOGIN_TOKEN_KEY = "blog:login:%s";

    //用于存放粉丝信息
    String USER_FOLLOWER_KEY = "blog:follower:%s";

    //用于存放关注对象信息
    String USER_FANS_KEY = "blog:fans:%s";

    //用于存放用户点赞信息（value为点赞人）
    String USER_LIKE_KEY = "blog:like:%s:%s"; // blog:like:user:10 100

    String POST_SCORE_KEY = "blog:post:score";
}
